using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;

namespace NetRosApp.Infrastructure.Library.Services
{
    public class ExpUtil : NetRosApp.Infrastructure.Interface.Services.IExpUtil
    {
        string policyName = "CEP";

        public bool HandleException(Exception e)
        {
            try
            {
                return ExceptionPolicy.HandleException(e, policyName);
            }
            catch (System.Configuration.ConfigurationErrorsException)
            {
                return true;
            }
        }
    }
}
